package com.xiaomengkuan.user;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author Faraj Mujey
 * -- Creation Time: 2021-01-12 2:54 下午, File Encoding: utf8 --
 */
@SpringBootApplication
@EnableFeignClients(basePackages = {"com.xiaomengkuan.user.remote"} )
@EnableDiscoveryClient
@EnableTransactionManagement
@ComponentScan(basePackages = {"com.xiaomengkuan"})
public class UserApplication {
    public static void main(String[] args) {
        SpringApplication.run(UserApplication.class, args);
    }
}
